package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallMessageTplDao;
import com.appkubes.mall.core.entity.MallMessageTpl;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallMessageTplService extends AbstractBaseService<BaseMallMessageTplDao, MallMessageTpl> {

    MallMessageTpl getOneByEntity(MallMessageTpl entity);

    List<MallMessageTpl> selectListByEntity(MallMessageTpl entity);

    IPage<MallMessageTpl> selectPageByEntity(IPage<MallMessageTpl> page);
    IPage<MallMessageTpl> selectPageByEntity(PageVO pageVO);

    IPage<MallMessageTpl> selectPageByEntity(MallMessageTpl entity, IPage<MallMessageTpl> page);
    IPage<MallMessageTpl> selectPageByEntity(MallMessageTpl entity, PageVO pageVO);

    IPage<MallMessageTpl> selectPageByEntity(MallMessageTpl entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallMessageTpl entity);
}
